package com.nervenets.web.controller.handler.common;


import com.nervenets.web.annotation.NeedValidation;
import com.nervenets.web.controller.handler.ApiParams;
import com.nervenets.web.validation.Type;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * Created by joe on 17-3-14.
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class IdParams extends ApiParams {
    @NeedValidation(type = Type.POSITIVENUMBER, description = "对象的ID")
    private int targetId;
}
